package com.guli.edu.service;

import com.guli.edu.entity.Video;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guli.edu.entity.form.VideoForm;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author ZhaoZhenyu
 * @since 2022-09-27
 */
public interface VideoService extends IService<Video> {
    int getCount(String chapterId);
    void saveVideo(VideoForm videoForm);
    VideoForm getVideoFormById(String id);
    void updateVideoFormById(VideoForm videoForm);
    int DeleteChapterBatchByChapterId(String chapterId);
}
